package AccionesSemanticas;

import java.util.Vector;

public class AccComp implements AccSemantica {
    
    private Vector<AccSemantica> acciones;
    
    public AccComp(Vector<AccSemantica> acciones){
        this.acciones = acciones;
    }

    public String doAction() {
        String aux= "";
        for(AccSemantica as:acciones){
            String a =as.doAction();
            if(a!=null)
                aux = aux.concat(a);
        }
        return aux;
    }   
    
}
